package com.huawang.mdesign.model.service.constant;

import com.huawang.core.definition.mof.UMLDefinitionConstants;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author cdl
 */
@AllArgsConstructor
@Getter
public enum ExchangeKindKeyEnum {

    OPERATIONAL_EXCHANGE(
            UMLDefinitionConstants.UAF_OperationalExchange,
            UMLDefinitionConstants.UAF_OperationalExchange_exchangeKind,
            UMLDefinitionConstants.UAF_OperationalExchangeKind_InformationExchange
    ),
    RESOURCE_EXCHANGE(
            UMLDefinitionConstants.UAF_ResourceExchange,
            UMLDefinitionConstants.UAF_ResourceExchange_exchangeKind,
            UMLDefinitionConstants.UAF_ResourceExchangeKind_ResourceCommunication
    ),
    SERVICE_EXCHANGE(
            UMLDefinitionConstants.UAF_ServiceExchange,
            UMLDefinitionConstants.UAF_ServiceExchange_exchangeKind,
            UMLDefinitionConstants.UAF_ServiceExchangeKind_InformationExchange
    ),
    ;

    private final String type;

    private final String prop;

    private final String key;

}
